package com.ruoyi.business.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业互评主对象 TWORK_STU_COMMENT
 * 
 * @author 最爱喝兽奶
 * @date 2022-08-14
 */

@Data
public class TworkStuComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 被评ID */
    private Long id;

    /** 作业ID */
    @Excel(name = "作业ID")
    private String workId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private String courseId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private String chapterId;

    /** 评价人 */
    @Excel(name = "评价人")
    private String uploadUser;

    /** 评价时间 */
    @Excel(name = "评价时间")
    private String uploadTime;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String finished;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workId", getWorkId())
            .append("courseId", getCourseId())
            .append("chapterId", getChapterId())
            .append("uploadUser", getUploadUser())
            .append("uploadTime", getUploadTime())
            .append("finished", getFinished())
            .toString();
    }
}
